package com.baitai.system.mapper;

import java.util.List;

import com.baitai.system.domain.SysUserZcyx;

/**
 * zcyx备用用户
 * Mapper接口
 *
 * @author xx
 * @date 2024-12-01
 */
public interface SysUserZcyxMapper {
    /**
     * 查询zcyx备用用户
     *
     * @param id zcyx备用用户
     *           主键
     * @return zcyx备用用户
     */
    public SysUserZcyx selectSysUserZcyxById(Long id);

    public SysUserZcyx selectSysUserZcyxByUserId(Long userId);

    /**
     * 查询zcyx备用用户
     * 列表
     *
     * @param sysUserZcyx zcyx备用用户
     * @return zcyx备用用户
     * 集合
     */
    public List<SysUserZcyx> selectSysUserZcyxList(SysUserZcyx sysUserZcyx);

    /**
     * 新增zcyx备用用户
     *
     * @param sysUserZcyx zcyx备用用户
     * @return 结果
     */
    public int insertSysUserZcyx(SysUserZcyx sysUserZcyx);

    /**
     * 修改zcyx备用用户
     *
     * @param sysUserZcyx zcyx备用用户
     * @return 结果
     */
    public int updateSysUserZcyx(SysUserZcyx sysUserZcyx);

    /**
     * 删除zcyx备用用户
     *
     * @param id zcyx备用用户
     *           主键
     * @return 结果
     */
    public int deleteSysUserZcyxById(Long id);

    /**
     * 批量删除zcyx备用用户
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysUserZcyxByIds(Long[] ids);
}
